<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/vue.js"></script>
</head>
<body>
    <div id="app">
        <pre :style="{opacity:n}">
            诗大全网站主要内容为经典古诗词原文及翻译、注释、赏析。包括小学古诗大全、初中古诗、高中古诗大全、唐诗三百首、各类写景的经典诗句、节日诗句、边塞诗句、送别诗句、爱...
        </pre>
    </div>
    <script>
        const VM = new Vue({
            el:'#app',
            data:{
                n:1
            },
            mounted() {
                setInterval(()=>{
                    // this.n -= 0.1;
                    // if(this.n <= 0) this.n=1;

                    this.n <= 0 ? this.n=1 : this.n -= 0.1
                },300)
            },

        });
    </script>
</body>
</html>